package com.education.basic.ao;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.education.basic.action.BasicAction.LoginMsg;




public interface LoginAo
{
	/**
	 * 登录
	 * @param username
	 * @param password v
	 * @param validateCode
	 * @param loginMsg
	 * @param request
	 * @param response
	 * @return
	 */
	String login(String username,String password,String validateCode,LoginMsg loginMsg,HttpServletRequest request,HttpServletResponse response);
	/**
	 * 退出
	 * @param username
	 * @param request
	 * @param response
	 * @return
	 */
	String loginOut(String username,HttpServletRequest request,HttpServletResponse response);
}
